html,body{
    min-width: 1240px;
    margin: 0 auto;
}
.layout{
    height: 100%;
    .main{
        width: 100%;
        display: flex;
        position: absolute;
        top: 60px;
        bottom: 0;
        overflow: hidden;
    }
  }